/*
 * www.wuercj.pub Inc.
 * Copyright (c) 2017 All Rights Reserved
 */

/*
 * 修订记录:
 * Yong.L 2017/7/31 下午11:48 创建
 *
 */
package com.flka.demo.test.message;

public class ApiMessage {

    /**服务码*/
    private String serviceCode;

    /**商户唯一的请求订单号*/
    private String merchantOrderNo;

    /**签名类型*/
    private String signType = "MD5";

    /** 签约的服务平台账号对应的合作方ID,由服务平台分配 */
    private String partnerId;

    /**服务协议*/
    private String protocol = "httpPost";

    /**客户端IP*/
    private String requestIp;
    /** 通知地址 */
    private String notifyUrl;

    /** 签名 */
    private String sign;

    public String getServiceCode() {
        return serviceCode;
    }

    public void setServiceCode(String serviceCode) {
        this.serviceCode = serviceCode;
    }

    public String getMerchantOrderNo() {
        return merchantOrderNo;
    }

    public void setMerchantOrderNo(String merchantOrderNo) {
        this.merchantOrderNo = merchantOrderNo;
    }

    public String getSignType() {
        return signType;
    }

    public void setSignType(String signType) {
        this.signType = signType;
    }

    public String getPartnerId() {
        return partnerId;
    }

    public void setPartnerId(String partnerId) {
        this.partnerId = partnerId;
    }

    public String getProtocol() {
        return protocol;
    }

    public void setProtocol(String protocol) {
        this.protocol = protocol;
    }

    public String getRequestIp() {
        return requestIp;
    }

    public void setRequestIp(String requestIp) {
        this.requestIp = requestIp;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    @Override
    public String toString() {
        return "ApiMessage{" +
                "serviceCode='" + serviceCode + '\'' +
                ", merchantOrderNo='" + merchantOrderNo + '\'' +
                ", signType='" + signType + '\'' +
                ", notifyUrl='" + notifyUrl + '\'' +
                ", partnerId='" + partnerId + '\'' +
                ", sign='" + sign + '\'' +
                ", protocol='" + protocol + '\'' +
                ", requestIp='" + requestIp + '\'' +
                '}';
    }
}
